/*
 * @Autor: 黄旗
 * @Date: 2020-06-02 17:47:27
 */
import BasicLayout from '@/layouts/basic-layout';

const meta = {
    auth: true
};

const pre = 'home-treatment-';

export default {
    path: '/home/treatment',
    name: 'home-treatment',
    redirect: {
        name: `${pre}list`
    },
    meta,
    component: BasicLayout,
    children: [
        {
            path: 'list',
            name: `${pre}list`,
            meta: {
                ...meta,
                title: '治疗列表'
            },
            component: () => import('@/pages/home/treatment/list')
        },
        {
            path: 'report',
            name: `${pre}report`,
            meta: {
                ...meta,
                title: '治疗报表'
            },
            component: () => import('@/pages/home/treatment/report')
        },
        {
            path: 'patientList',
            name: `${pre}patientList`,
            meta: {
                ...meta,
                title: '患者列表'
            },
            component: () => import('@/pages/home/treatment/patientList')
        }
    ]
};
